﻿namespace Auktionshuset
{
    public class User
    {
        public string Username { get; set; }
        public string Alias { get; set; }

        public User(string username, string alias)
        {
            Username = username;
            Alias = alias;
        }

        public static User ReadFrom(System.IO.BinaryReader reader)
        {
            return new User(reader.ReadString(), reader.ReadString());
        }
    }
}
